package com.lintf.distributed.transaction.api;

import com.lintf.distributed.transaction.cmd.RpcVersion;
import com.lintf.distributed.transaction.dto.OrderGetDTO;

/**
 * @ author lintf
 * @ system Mac
 * @ data 2025/7/9
 * @ package_name com.lintf.distributed.transaction.api
 * @ project_name distributed-transaction
 * @ desc
 */

public interface OrderRPCService extends RpcVersion {

    /**
     * 获取订单详情
     *
     * @param orderId 订单ID
     * @return 订单详情
     */
    OrderGetDTO getOrderDetails(Long orderId);

}
